package com.example.oasystem.service.impl;

import com.example.oasystem.dao.type.AoaTypeListDao;
import com.example.oasystem.entity.type.AoaTypeList;
import com.example.oasystem.service.AoaTypeListService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AoaTypeListServiceImpl implements AoaTypeListService {

    @Autowired
    AoaTypeListDao aoaTypeListDao;


    @Override
    public String typeName(Long typeId) {
        return aoaTypeListDao.typeName(typeId);
    }

    @Override
    public List<AoaTypeList> aoaTypeLists() {
        return aoaTypeListDao.aoaTypeLists();
    }
    @Override
    public List<AoaTypeList> selectTypeListByModel() {
        return aoaTypeListDao.selectTypeListByModel();
    }
}
